package cn.thornbird.orgsync.exception;

import org.springframework.http.HttpStatus;

public class InternalServerErrorException extends HttpException {

    private static final long serialVersionUID = -1480427446437743462L;

    public InternalServerErrorException() {
        super(HttpStatus.INTERNAL_SERVER_ERROR.getReasonPhrase());
        statusCode = HttpStatus.INTERNAL_SERVER_ERROR.value();
    }

    public InternalServerErrorException(String message) {
        super(message);
        statusCode = HttpStatus.INTERNAL_SERVER_ERROR.value();
    }

}
